import axios from "axios";

export const getDataJson =(url='seller')=>{
    return new Promise((resolve, reject)=>{
        axios.get(`${url}`).then(res=>{
            resolve(res.data)
        }).catch(err=>{
            reject(err)
        })
    })
}